// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;

  .el-dialog__header {
    padding: 24px 24px 24px 24px !important;
    .dialog-header-title {
      display: flex;
      color: #000;
      // align-items: center;
      span {
        line-height: 24px;
        font-size: 18px;
        font-weight: 500;
      }
      i {
        color: #909399;
      }
      i:hover {
        color: var(--themeColor);
      }
    }
    .el-dialog__headerbtn {
      top: 30px;
      right: 24px;
    }
  }
  .el-dialog__body {
    // padding: 0 24px 0 24px !important;
    .el-form {
      .el-form-item {
        margin-bottom: 24px !important;
      }
      .el-form-item__label {
        padding-right: 14px !important;
        // margin-right: 16px!important;;
      }
    }
    // .filter-container{
    //   .el-form {
    //     .el-form-item{
    //       margin-bottom: 0px!important;
    //     }
    //   }
    // }
  }
  .el-dialog__footer {
    padding: 24px 24px !important;
  }
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

//avue-dialog--fullscreen
// .dt-dialog--fullscreen{
.ele-table-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  padding: 0 0 16px;
  box-sizing: border-box;
  // background-color: var(--component-background);
  z-index: 1400;
}

// }
//el-drawer 用户管理的抽屉 设置宽度
.avue-dialog .el-drawer.rtl {
  width: 480px;
}

//el-tree

.el-tree {
  .el-tree-node {
    font-size: 14px !important;
    color: #131314;
  }
}
.el-pagination {
  overflow: hidden;
}
.mainbox-left {
  .el-pagination {
    .el-pagination__jump {
      display: none !important;
    }
  }
}
.el-loading-mask {
  // z-index: 3000 !important;
}

//用户管理新增修改 选择职业 与输入框同宽
.popoverbox .el-popover {
  width: 698px !important;
  max-width: 698px !important;
}
.el-button--mini {
  padding-left: 12px !important;
  padding-right: 12px !important;
}
// //调整table的不正经border
.mainbox .el-table__footer-wrapper,
.mainbox .el-table__header-wrapper {
  border-top: 1px solid #ebeef5;
  border-left: 1px solid #ebeef5;
  border-right: 1px solid #ebeef5;
}
.mainbox .el-table__body-wrapper {
  // border-left: 1px solid #EBEEF5;
  border-right: 1px solid #ebeef5;
}
.mainbox-left .el-table__body-wrapper {
  border-left: 1px solid #ebeef5;
  // border-right: 1px solid #EBEEF5;
}
// .mainbox .el-table--border td:nth-child(2){
//   border-left: 1px solid #EBEEF5;
// }
//添加一个公共类名none2-border3 ，
.none2-border3.mainbox .el-table--border td:nth-child(2) {
  border-left: none;
}
.none2-border3.mainbox .el-table--border td:nth-child(3) {
  border-left: 1px solid #ebeef5;
}

.mainbox .el-table__fixed-body-wrapper {
  border-left: 1px solid #ebeef5;
}
.mainbox .el-table .el-table__row td:not(.is-hidden) {
  right: 1px;
}
.mainbox .el-table__fixed-right::before,
.mainbox .el-table__fixed::before {
  background-color: rgba(0, 0, 0, 0);
}
//搜索栏的 每项右边距
.el-form--inline .el-form-item {
  margin-right: 14px;
}
//el-cascader__dropdown
.el-cascader__dropdown {
  .el-cascader-menu__wrap {
    height: 210px;
  }
}
//el-tag的行高

.el-tag--medium {
  line-height: 28px !important;
}

//输入框有限制长度的设置 padding-right 以免遮盖内容
.limit .el-input__inner,
.limit .el-textarea__inner {
  padding-right: 58px;
}
.gen_edit .el-tabs__item {
  pointer-events: none !important;
}
//下划线
.el-card__body {
  padding: 20px;
}
.el-divider--horizontal {
  margin-top: 8px;
  border-bottom: 1px solid #ebeef5;
}

//el-drawer
.el-drawer__header {
  padding: 20px 24px !important;
  margin-bottom: 0!important;
  span {
    height: 24px;
    font-size: 18px;
    font-weight: 500;
    color: #1d2129;
    line-height: 24px;
  }
}
.el-drawer__body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow: auto; 
}

.el-tabs__nav-wrap::after {
  height: 1px!important;
}

// overTooltip组件+树+需要的样式
.over-tooltip-parent{
  overflow: hidden;
}

//el-tree 全局样式
.el-tree .el-tree-node__content{
  height: 38px;
  font-size: 14px;
  margin: 0 ;
  overflow: hidden;
    // flex-direction: row-reverse;
    // justify-content: space-between;
}
@mixin el-tree-theme-Color{
  color:var(--themeColor);
  overflow: hidden;
  border-radius: 4px;
}
@mixin el-tree-theme-light{
  background-color: var(--lightOpacity)
}
.dialog-wrap,.dt-main{
  .el-tree .is-current{
    @include el-tree-theme-Color
  }
  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
    @include el-tree-theme-light
  }
  .el-tree-node__content:hover,
  .el-upload-list__item:hover{
    @include el-tree-theme-light
  }
} 
.el-tree .svg-icon{
  font-size: 22px;
}

// //formdata-drawer
// .formdata-drawer{
//   top: 102px;
//   left: 210px;
// }
// .formdata-drawer2{
//   top: 100px;
//   left: 56px;
// }
//表单设计 评分 五角星
.el-rate__item .el-rate__icon{
  height: 36px;
  line-height: 36px;
}
.el-rate__decimal{
  height: 36px;
  line-height: 36px!important;
}


// 全局设置提示框样式
.el-alert{
  line-height: 20px;
}